package com.abc.cloud.dao;

import com.abc.cloud.dto.comment.CommentFileUser;
import com.abc.cloud.entity.CommentEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 评论表
 * 
 * @author LiJunXi
 * @email 2770063826@qq.com
 * @date 2023-10-27 13:09:54
 */
@Mapper
public interface CommentDao extends BaseMapper<CommentEntity> {

    Integer getCount(String searchContent);

    List<CommentFileUser> getCommentList(Integer currPage, Integer pageSize, String searchContent);
}
